// 引入 request 文件
import request from '@/utils/request'

// 以下 api 项目示例，实际与项目相匹配

// 通用Git
export const publicGet = (params) => {
	return request({
		url: `/user/miniprogramwx/txl.php`,
		method: 'get',
		data: params
	})
}
// 通用Post
export const publicPost = (params,dos) => {
    return request({
        url: `/user/miniprogramwx/txl.php?do=${dos}`,
        method: 'post',
        data: params
    })
}

export const formPost = (params,ids) => {
    return request({
        url: `/user/miniprogramwx/txl.php?do=fxhbaoming&id=${ids}`,
        method: 'post',
        data: params
    })
}